package edu.suda.cxtz.repository;

import edu.suda.cxtz.entity.Dict;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;
import java.util.Set;

public interface DictRepository extends JpaRepository<Dict, Long>, JpaSpecificationExecutor<Dict> {
    void deleteByIdIn(Set<Long> ids);

    List<Dict> findByIdIn(Set<Long> ids);

}
